* {
  user-select: none;
}

.shell {
  position: fixed;
  width: 84px;
  height: 100%;
  background: var(--nav-bg);
  z-index: 100;
  transition: width 0.5s;
  padding-left: 10px;
  overflow: hidden;
}

.shell:hover {
  width: 300px;
}

.shell ul {
  position: relative;
  height: 100vh;
}

.shell ul li {
  position: relative;
  padding: 5px;
}

.active {
  background: var(--nav-active-bg);
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.active::before {
  content: '';
  position: absolute;
  top: -30px;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom-right-radius: 25px;
  box-shadow: 5px 5px 0 5px var(--nav-active-bg);
  background: transparent;
}

.active::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 30px;
  height: 30px;
  border-top-right-radius: 25px;
  box-shadow: 5px -5px 0 5px var(--nav-active-bg);
  background: transparent;
}

#logo {
  margin: 40px 0 0 0;
}

.shell ul li a {
  position: relative;
  display: flex;
  white-space: nowrap;
}

.icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 60px;
  padding-left: 10px;
  height: 70px;
  transition: 0.5s;
  color: var(--nav-icon-color);
}

.icon i {
  font-size: 30px;
  z-index: 100;
}

.text {
  position: relative;
  height: 70px;
  display: flex;
  align-items: center;
  font-size: 20px;
  color: var(--nav-text-color);
  padding-left: 15px;
  letter-spacing: 2px;
  transition: 0.5s;
}

.shell ul li:hover .icon,
.shell ul li:hover .text {
  color: var(--nav-hover-color);
}

.active a .icon::before {
  content: '';
  position: absolute;
  inset: 5px;
  width: 60px;
  background: var(--nav-bg);
  border-radius: 50%;
  transition: 0.5s;
  border: 7px solid var(--nav-hover-color);
  box-sizing: border-box;
}